home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{35020227-5912-11D1-9A00-00C04FD8DC2E}#1.0#0"; "DDTP.dll"
- Begin VB.Form Form1
- Caption = "DameWare Date and Time Picker"
- ClientHeight = 2460
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 4635
- LinkTopic = "Form1"
- ScaleHeight = 2460
- ScaleWidth = 4635
- StartUpPosition = 1 'CenterOwner
- Begin DDTPLibCtl.DDTPCtl DDTPCtl1
- DataField = "SelectedDate"
- DataSource = "Data1"
- Height = 375
- Left = 840
- TabIndex = 0
- Top = 480
- Width = 3015
- _cx = 1184966
- _cy = 1180309
- DateTimeStyle = 2
- DateDisplayFormat= "dddd', 'MMMM d', 'yyy"
- UseCustomDateFormat= 0
- CalBackGroundColor= 16777215
- CalTextColor = 0
- CalTitleBkColor = 8388608
- CalTitleTextColor= 16777215
- CalTrailingTextColor= 8421504
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- dDate = 36028.5223611111
- End
- Begin VB.TextBox Text1
- Alignment = 2 'Center
- DataField = "SelectedDate"
- DataSource = "Data1"
- Height = 285
- Left = 840
- TabIndex = 2
- Text = "Text1"
- Top = 1080
- Width = 3015
- End
- Begin VB.Data Data1
- Caption = "Data1"
- Connect = "Access"
- DatabaseName = "Bind.mdb"
- DefaultCursorType= 0 'DefaultCursor
- DefaultType = 2 'UseODBC
- Exclusive = 0 'False
- Height = 300
- Left = 840
- Options = 0
- ReadOnly = 0 'False
- RecordsetType = 1 'Dynaset
- RecordSource = "DateTable"
- Top = 1560
- Width = 3000
- End
- Begin VB.Label Label1
- Caption = "Selected Date"
- Height = 615
- Left = 120
- TabIndex = 1
- Top = 1080
- Width = 735
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Data1_Reposition()
- s = CStr(Data1.Recordset.AbsolutePosition + 1)
- s = s + " of " + CStr(Data1.Recordset.RecordCount)
- Data1.Caption = s
- End Sub
- Private Sub DDTPCtl1_DateChange(ByVal d As Date)
- Text1.Text = d
- End Sub
- Private Sub Form_Initialize()
- Data1.Recordset.MoveLast
- Data1.Recordset.MoveFirst
- End Sub
-